<div class="box-title has-cl"><h1>推荐关系</h1>
  <form class="search" action="" method="post">
  	  <span class="s-field"><label>用户</label><input type="search" size="10" name="s[user_name]" value="<?php e_h($s['user_name'])?>"  /></span>
      <span class="s-field"><label>注册时间</label><input type="text" size="6" onClick="WdatePicker({dateFmt:'yyyy-MM'})" name="s[month]" value="<?php e_h($s['month'])?>"  /></span>
      <input type="submit" class="sb" value="搜索"  />  
  </form>
</div>



<table class="ta-h" width="100%" id="dataList">
  <tr>
    <th>用户</th>
    <th>推荐人数</th>
    <th>注册时间</th>
  </tr>
  <?php foreach($res as $v){?>
  <tr class="sl-i" i_ID="<?php echo $v['id'];?>">
    <td><?php e_h($v['name'])?></td>
    <td><?php if($v['sub_userNum']){?><a href="?u=cex\u\relation&s[p_id]=<?php e_h($this->PU->u_ed($v['id']))?>"><?php echo $v['sub_userNum'];?></a><?php }?></td>
    <td><?php e_h($v['reg_time']);?></td>
  </tr>
  <?php }?>
</table>
<?php $this->loadTemplate('paging');?>